/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package presentation.view.custom;

import java.awt.Color;
import javax.swing.ImageIcon;

/**
 *
 * @author Joanna 8a
 */
class ListItem {
      private Color color;
      private String value;
      private ImageIcon icon;

      public ListItem(Color c, String s,ImageIcon img) {
          color = c;
          value = s;
          icon = img;
      }
      public Color getColor() {
          return color;
      }
      public String getValue() {
          return value;
      }

    /**
     * @param color the color to set
     */
    public void setColor(Color color) {
        this.color = color;
    }

    /**
     * @param value the value to set
     */
    public void setValue(String value) {
        this.value = value;
    }

    /**
     * @return the icon
     */
    public ImageIcon getIcon() {
        return icon;
    }

    /**
     * @param icon the icon to set
     */
    public void setIcon(ImageIcon icon) {
        this.icon = icon;
    }
  }